package cn.edu.scau.cmi.zhangjiankun.comprehension.client;

import java.io.IOException;
import java.io.InputStream;

import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;

import cn.edu.scau.cmi.zhangjiankun.comprehension.dao.studentDao;
import cn.edu.scau.cmi.zhangjiankun.comprehension.domain.Student;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import sun.misc.Resource;


public class ComprehensionClient extends Application{

	private Stage primaryStage;
	    
		
	public ComprehensionClient() {
		// TODO Auto-generated constructor stub
	}
    
	@Override
	public void start(Stage primaryStage) throws Exception {
		// TODO Auto-generated method stub
		this.primaryStage = primaryStage;
        this.primaryStage.setTitle("Comprehension");
        Parent root = FXMLLoader.load(getClass().getResource("Adapter.fxml"));
        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.show();


        
	}
	
    public static void main(String[] args) {
        launch(args);
    }

}
